﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OauthProvider;

namespace Chat_WebServer
{
    [Serializable]
    public class CusRequestToken : TokenBase
    {
        public bool AccessDenied { get; set; }
        public bool UsedUp { get; set; }
        public MiniAccessToken AccessToken { get; set; }
        public string CallbackUrl { get; set; }
        public string Verifier { get; set; }

        public override string ToString()
        {
            string formattedToken = base.ToString();

            formattedToken += "&" + Parameters.OAuth_Callback_Confirmed + "=true";

            return formattedToken;
        }

        public override void SaveToken()
        {
        }

        public static CusRequestToken GetToken(string p)
        {
            return new CusRequestToken();
        }
    }
}
